package com.scheduled.task.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import sun.management.resources.agent;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @Author JiangHaoHuan
 * @Date 2024/7/17 15:00:36
 * @Version 1.0
 */


@TableName("m_business_Finance")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BusinessFinance {
    @TableId(type = IdType.AUTO)
    private Integer idd;

    private String agent;

    @JsonProperty("unit_name")
    private String unitName;

    private String num;

    @JsonProperty("con_name")
    private String conName;

    @JsonProperty("con_date")
    private String conNate;

    @JsonProperty("status_str")
    private String statusStr;

    private Integer status;

    @JsonProperty("total_price")
    private BigDecimal totalPrice;

    private String RelatedFlow;

    private BigDecimal RemainingPrice;

    private Timestamp creatTime;

    private Timestamp updateTime;
}
